package com.foreverwin.jzymes.common.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ActivityRuleAdviceMapper {

    /**
     * 查询作业规则
     *
     * @param activityBo
     * @return
     */
    public List<Map<String,String>> selectAcivityRules( @Param("activityBo") String activityBo );

    /**
     * 查询作业规则
     *
     * @param activityBo
     * @param ruleName
     * @return
     */
    public String selectActivityRule( @Param("activityBo") String activityBo, @Param("ruleName") String ruleName );

    /**
     * 修改作业规则
     *
     * @param activityBo
     * @param value
     * @return
     */
    public int updateActivityRule( @Param("activityBo") String activityBo, @Param("ruleName") String ruleName, @Param("value") String value );
}
